Skip to content

Conversation

@hollerdawg
Copy link
Contributor

Assign clocks and clock gates to enable PWM functionality from FlexTimers.

This update also enables the frdm_k22f to run the basic and driver PWM
sample projects.

nxp_k2x.dtsi: Corrects Multipurpose Clock Generator binding
to utilize nxp,kinetis-mcg. Assign MCG to FlexTimer devices.
Enable FlexTimer clocks via System Integration Module clock
gate control registers.

Kconfig.defconfig.mk22f12: Enable default use of
CLOCK_CONTROL_MCUX_MCG when CLOCK_CONTROL is selected.

Signed-off-by: Ryan Holleran <[email protected]>
The on-board RGB LED is connected to PWM channels on FTM_0.

Signed-off-by: Ryan Holleran <[email protected]>
@henrikbrixandersen henrikbrixandersen added the area: PWM Pulse Width Modulation label Feb 1, 2021
@nashif nashif added this to the v2.6.0 milestone Feb 2, 2021
@nashif nashif merged commit b81173f into zephyrproject-rtos:master Feb 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants